forum

home / developersection / forums / what’s the difference between shallow copy and deep copy in python? give an example.

What’s the difference between shallow copy and deep copy in Python? Give an example.

Anubhav Kumar 329 21-Apr-2025

What’s the difference between shallow copy and deep copy in Python? Give an example.


Updated on 30-Oct-2025
Anubhav Kumar

Student

The Anubhav portal was launched in March 2015 at the behest of the Hon'ble Prime Minister for retiring government officials to leave a record of their experiences while in Govt service .

Can you answer this question?

Answer

2 Answers

Liked By